package com.baixun.gassystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysAlgorithmInfoMapper {
    // 检查是否已存在记录
    int countByTypeAndName(@Param("type") String type, @Param("name") String name);

    // 插入新记录
    void insertSysAlgorithmInfo(@Param("type") String type,
                                @Param("name") String name,
                                @Param("description") String description);
}
